package com.code.aspectj.annotation;

import com.code.aspectj.util.CheckType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;

/**
 * Created by RLZ
 * on 2021/12/24
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Check {

    CheckType value() default CheckType.LOGIN;

    int otherType() default 0;
}
